﻿using System;
using System.Collections.Generic;

namespace Sigil.Impl
{
	internal class TransitionWrapper
	{
		public List<StackTransition> Transitions { get; private set; }

		public String MethodName { get; private set; }

		private TransitionWrapper()
		{
		}

		public static TransitionWrapper Get(String name, IEnumerable<StackTransition> transitions)
		{
			return new TransitionWrapper { MethodName = name, Transitions = new List<StackTransition>(transitions) };
		}
	}
}